import logging
#封装日志方法
def log():
    log=logging.basicConfig(level='INFO',
                            format='%(levelname)s->%(filename)s->%(asctime)s->%(lineno)d',
                            filename='log/logger.log')

    return log